Optimal. Leaf size=87 \[ \frac {14 \sqrt {x+1}}{3 \sqrt {1-x}}-\frac {5 \sqrt {x+1}}{3 \sqrt {1-x} x}+\frac {2 \sqrt {x+1}}{3 (1-x)^{3/2} x}-3 \tanh ^{-1}\left (\sqrt {1-x} \sqrt {x+1}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 87, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {99, 151, 152, 12, 92, 206} \begin {gather*} \frac {14 \sqrt {x+1}}{3 \sqrt {1-x}}-\frac {5 \sqrt {x+1}}{3 \sqrt {1-x} x}+\frac {2 \sqrt {x+1}}{3 (1-x)^{3/2} x}-3 \tanh ^{-1}\left (\sqrt {1-x} \sqrt {x+1}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 92
Rule 99
Rule 151
Rule 152
Rule 206
Rubi steps
\begin {align*} \int \frac {\sqrt {1+x}}{(1-x)^{5/2} x^2} \, dx &=\frac {2 \sqrt {1+x}}{3 (1-x)^{3/2} x}-\frac {2}{3} \int \frac {-\frac {5}{2}-2 x}{(1-x)^{3/2} x^2 \sqrt {1+x}} \, dx\\ &=\frac {2 \sqrt {1+x}}{3 (1-x)^{3/2} x}-\frac {5 \sqrt {1+x}}{3 \sqrt {1-x} x}+\frac {2}{3} \int \frac {\frac {9}{2}+\frac {5 x}{2}}{(1-x)^{3/2} x \sqrt {1+x}} \, dx\\ &=\frac {14 \sqrt {1+x}}{3 \sqrt {1-x}}+\frac {2 \sqrt {1+x}}{3 (1-x)^{3/2} x}-\frac {5 \sqrt {1+x}}{3 \sqrt {1-x} x}-\frac {2}{3} \int -\frac {9}{2 \sqrt {1-x} x \sqrt {1+x}} \, dx\\ &=\frac {14 \sqrt {1+x}}{3 \sqrt {1-x}}+\frac {2 \sqrt {1+x}}{3 (1-x)^{3/2} x}-\frac {5 \sqrt {1+x}}{3 \sqrt {1-x} x}+3 \int \frac {1}{\sqrt {1-x} x \sqrt {1+x}} \, dx\\ &=\frac {14 \sqrt {1+x}}{3 \sqrt {1-x}}+\frac {2 \sqrt {1+x}}{3 (1-x)^{3/2} x}-\frac {5 \sqrt {1+x}}{3 \sqrt {1-x} x}-3 \operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {1-x} \sqrt {1+x}\right )\\ &=\frac {14 \sqrt {1+x}}{3 \sqrt {1-x}}+\frac {2 \sqrt {1+x}}{3 (1-x)^{3/2} x}-\frac {5 \sqrt {1+x}}{3 \sqrt {1-x} x}-3 \tanh ^{-1}\left (\sqrt {1-x} \sqrt {1+x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 67, normalized size = 0.77 \begin {gather*} \frac {14 x^3-5 x^2-9 (x-1) \sqrt {1-x^2} x \tanh ^{-1}\left (\sqrt {1-x^2}\right )-16 x+3}{3 (x-1) x \sqrt {1-x^2}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.11, size = 83, normalized size = 0.95 \begin {gather*} \frac {\sqrt {x+1} \left (\frac {(x+1)^2}{(1-x)^2}+\frac {11 (x+1)}{1-x}-18\right )}{3 \sqrt {1-x} \left (\frac {x+1}{1-x}-1\right )}-6 \tanh ^{-1}\left (\frac {\sqrt {x+1}}{\sqrt {1-x}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.48, size = 84, normalized size = 0.97 \begin {gather*} \frac {13 \, x^{3} - 26 \, x^{2} - {\left (14 \, x^{2} - 19 \, x + 3\right )} \sqrt {x + 1} \sqrt {-x + 1} + 9 \, {\left (x^{3} - 2 \, x^{2} + x\right )} \log \left (\frac {\sqrt {x + 1} \sqrt {-x + 1} - 1}{x}\right ) + 13 \, x}{3 \, {\left (x^{3} - 2 \, x^{2} + x\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: NotImplementedError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 113, normalized size = 1.30 \begin {gather*} -\frac {\left (9 x^{3} \arctanh \left (\frac {1}{\sqrt {-x^{2}+1}}\right )-18 x^{2} \arctanh \left (\frac {1}{\sqrt {-x^{2}+1}}\right )+14 \sqrt {-x^{2}+1}\, x^{2}+9 x \arctanh \left (\frac {1}{\sqrt {-x^{2}+1}}\right )-19 \sqrt {-x^{2}+1}\, x +3 \sqrt {-x^{2}+1}\right ) \sqrt {-x +1}\, \sqrt {x +1}}{3 \left (x -1\right )^{2} \sqrt {-x^{2}+1}\, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.60, size = 86, normalized size = 0.99 \begin {gather*} \frac {14 \, x}{3 \, \sqrt {-x^{2} + 1}} + \frac {3}{\sqrt {-x^{2} + 1}} + \frac {7 \, x}{3 \, {\left (-x^{2} + 1\right )}^{\frac {3}{2}}} + \frac {4}{3 \, {\left (-x^{2} + 1\right )}^{\frac {3}{2}}} - \frac {1}{{\left (-x^{2} + 1\right )}^{\frac {3}{2}} x} - 3 \, \log \left (\frac {2 \, \sqrt {-x^{2} + 1}}{{\left | x \right |}} + \frac {2}{{\left | x \right |}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\sqrt {x+1}}{x^2\,{\left (1-x\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {x + 1}}{x^{2} \left (1 - x\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________